package com.example.xm.model.HomeApi;



import com.example.xm.bean.HomeBean.HomeArticleBean;
import com.example.xm.bean.HomeBean.HomeArticleChuanTongBean;
import com.example.xm.bean.HomeBean.HomeArticleDaShiJianBean;
import com.example.xm.bean.HomeBean.HomeArticleRenShiBean;
import com.example.xm.bean.HomeBean.HomeArticleYanJinBean;
import com.example.xm.bean.HomeBean.HomeBannderBean;
import com.example.xm.bean.HomeBean.HomeHotUserBean;
import com.example.xm.bean.HomeBean.HomePhotoBean;
import com.example.xm.bean.HomeBean.HomeRecommendBean;
import com.example.xm.bean.HomeBean.HomeRewardBean;
import com.example.xm.bean.HomeBean.HomeSquareBean;
import com.example.xm.bean.HomeBean.HomeTopicDiscussedBean;
import com.example.xm.bean.HomeBean.HomeVideoBean;
import com.example.xm.bean.HomeBean.HomeYouHomeArticleBean;
import com.example.xm.bean.HomeBean.HomeYouHomeBean;
import com.example.xm.bean.HomeBean.HomeYouHomeExerciseBean;
import com.example.xm.bean.HomeBean.HomeYouHomeSocietyBean;
import com.example.xm.bean.HomeBean.HomeYouHomeTrendBean;

import io.reactivex.Flowable;
import retrofit2.http.GET;

public interface TpApi {

    @GET("home/banner.json")
    Flowable<HomeBannderBean> getBanner();

    //获取热门话题
    @GET("home/topic_discussed.json")
    Flowable<HomeTopicDiscussedBean> getTopicDiscussed();

    //获取推荐数据
    @GET("home/recommend.json")
    Flowable<HomeRecommendBean> getRecommend();

    //获取热门用户
    @GET("home/hot_user.json")
    Flowable<HomeHotUserBean> getHotUser();

    //获取个人信息
    @GET("home/personal.json")
    Flowable<HomeYouHomeBean> getYouHome();

    //获取个人信息界面的动态
    @GET("home/personal_activity.json")
    Flowable<HomeYouHomeTrendBean> getTrend();

    //获取个人信息界面的活动
    @GET("home/personal_post.json")
    Flowable<HomeYouHomeExerciseBean> getExercise();

    //获取个人信息界面的社团
    @GET("home/personal_msg.json")
    Flowable<HomeYouHomeSocietyBean> getSociety();

    //获取个人信息界面的文章
    @GET("home/personal_article.json")
    Flowable<HomeYouHomeArticleBean> getArticle();

    //获取首页的广场
    @GET("home/square.json")
    Flowable<HomeSquareBean> getSquare();

    //获取首页的视频
    @GET("home/video.json")
    Flowable<HomeVideoBean> getVideo();

    //获取首页的摄影
    @GET("home/photo.json")
    Flowable<HomePhotoBean> getPhoto();

    //获取首页知识文章
    @GET("home/article.json")
    Flowable<HomeArticleBean> getHomeArticle();

    //获取首页的悬赏
    @GET("home/reward.json")
    Flowable<HomeRewardBean> getReward();

    //获取知识文章的认识汉服
    @GET("home/knowhanfu.json")
    Flowable<HomeArticleRenShiBean> getRenShi();

    //获取知识文章的传统礼仪
    @GET("home/traditional.json")
    Flowable<HomeArticleChuanTongBean> getChuanTong();

    //获取知识文章的汉服演进史
    @GET("home/evolution_history.json")
    Flowable<HomeArticleYanJinBean> getYanJin();

    //获取知识文章的汉服大事件
    @GET("home/eventshanfu.json")
    Flowable<HomeArticleDaShiJianBean> getDaShiJian();


}
